Api.WriteAxisTargetVelocity method
Sets the target velocity of an axis.
Namespace: IntervalZero.KINGSTAR.Local.Api
Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0
Syntax
public KsError WriteAxisTargetVelocity(
int Index,
int Value
)
Public Function WriteAxisTargetVelocity(
Index As Integer,
Value As Integer
) As KsError
Parameters
Index
Type: int
The index of an axis. Indexes are zero based. Aliases affect this parameter.
Value
Type: int
The velocity of an axis in user unit per second.
Return value
A return code of a method.
Remarks
This function can be used only in Manual mode. See the McControlMode enum.
Usable EtherCAT states
ecatOP
Examples
N/A
See also